﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using NakedObjects;
using System.ComponentModel;

namespace RTC.Modelo.Entidades
{
    [DisplayName("Tipo documento")]
    [IconName("id_card.png")]
    public class TipoDocumento: Entidad
    {
        #region Atributos

        [Hidden]
        public virtual int Id { set; get; }

        [Title,MemberOrder(10), DisplayName("Tipo")]
        public virtual String Nombre { set; get; }
        
        [Hidden,Disabled, DisplayName("Fecha Modificacion")]        
        public virtual DateTime ModifiedDate { get; set; }

        #endregion 

        [Hidden]
        protected override void SetModifiedDate()
        {
            ModifiedDate = DateTime.Now;
        }
    }
}
